package com.yh.bean;

import java.util.HashSet;
import java.util.Set;

public class t_class {
	
	 private int classId; //班级编号
	 private String className;//班级名称
	 private t_major t_major;//专业  一对一
	 private Set<t_stu> t_stu=new HashSet();//学生  一对多
	 
	 public t_major getT_major() {
		return t_major;
	}
	public void setT_major(t_major t_major) {
		this.t_major = t_major;
	}
	public Set<t_stu> getT_stu() {
		return t_stu;
	}
	public void setT_stu(Set<t_stu> t_stu) {
		this.t_stu = t_stu;
	}
	public int getClassId() {
		return classId;
	}
	public void setClassId(int classId) {
		this.classId = classId;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	 

}
